package com.example.demo.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.example.demo.domain.User;

@MapperScan
public interface Usermapper {

	 void insertUser(String id ,String name);
	 
	 
	 int findcount(String  id ,String name);
	 
	 int findid(String a );
	 
	 List<User> serchall();
	 
	 User serchOne( String a );
	 
	 int updateuser(String userid,String userpwd);


	    void deleteuser(String userid);


		int selectbyid(String userid);


		void insertUser2(String id, String name);
}
